package com.fjut.zr.judge_system.POJO.PO;

import java.util.Objects;

public class TOjInPO {
    private int id;
    private String pid;
    private Integer inId;
    private String in;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getInId() {
        return inId;
    }

    public void setInId(Integer inId) {
        this.inId = inId;
    }

    public String getIn() {
        return in;
    }

    public void setIn(String in) {
        this.in = in;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TOjInPO tOjInPO = (TOjInPO) o;
        return id == tOjInPO.id &&
                Objects.equals(pid, tOjInPO.pid) &&
                Objects.equals(inId, tOjInPO.inId) &&
                Objects.equals(in, tOjInPO.in);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, pid, inId, in);
    }
}
